﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Module
{
    /// <summary>
    /// 登陆凭据
    /// </summary>
    [Serializable]
    public class UserPassportInfo
    {
        #region Model
        private long _userpassportid;
        private string _username;
        private string _password;
        private int _status;
        private int _logincount;
        private DateTime _lastlogin;
        private DateTime _datecreated;

        private UserProfileInfo _profileInfo;
        /// <summary>
        /// 用户Id
        /// </summary>
        public long UserPassportId
        {
            set { _userpassportid = value; }
            get { return _userpassportid; }
        }
        /// <summary>
        /// 用户名
        /// </summary>
        public string UserName
        {
            set { _username = value; }
            get { return _username; }
        }
        /// <summary>
        /// 密码
        /// </summary>
        public string Password
        {
            set { _password = value; }
            get { return _password; }
        }
        /// <summary>
        /// 状态
        /// </summary>
        public int Status
        {
            set { _status = value; }
            get { return _status; }
        }
        /// <summary>
        /// 登陆次数
        /// </summary>
        public int LoginCount
        {
            set { _logincount = value; }
            get { return _logincount; }
        }
        /// <summary>
        /// 最后登陆时间
        /// </summary>
        public DateTime LastLogin
        {
            set { _lastlogin = value; }
            get { return _lastlogin; }
        }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime DateCreated
        {
            set { _datecreated = value; }
            get { return _datecreated; }
        }

        /// <summary>
        /// 用户属性
        /// </summary>
        public UserProfileInfo ProfileInfo
        {
            set { _profileInfo = value; }
            get { return _profileInfo; }
        }
        #endregion Model
    }
}
